package com.yekaile.carsystem.mapper;

import com.yekaile.carsystem.entity.OrderFormDetail;
import com.yekaile.carsystem.entity.OrderFormDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderFormDetailMapper {
    long countByExample(OrderFormDetailExample example);

    int deleteByExample(OrderFormDetailExample example);

    int deleteByPrimaryKey(Integer orderFormDetailId);

    int insert(OrderFormDetail record);

    int insertOrUpdate(OrderFormDetail record);

    int insertOrUpdateSelective(OrderFormDetail record);

    int insertSelective(OrderFormDetail record);

    List<OrderFormDetail> selectByExample(OrderFormDetailExample example);

    OrderFormDetail selectByPrimaryKey(Integer orderFormDetailId);

    int updateByExampleSelective(@Param("record") OrderFormDetail record, @Param("example") OrderFormDetailExample example);

    int updateByExample(@Param("record") OrderFormDetail record, @Param("example") OrderFormDetailExample example);

    int updateByPrimaryKeySelective(OrderFormDetail record);

    int updateByPrimaryKey(OrderFormDetail record);

    int updateBatch(List<OrderFormDetail> list);

    int updateBatchSelective(List<OrderFormDetail> list);

    int batchInsert(@Param("list") List<OrderFormDetail> list);
}